﻿using System;
using System.Collections.Generic;
using AdAggregator.Attribute;

namespace RealEstateAggregator.Utils
{
    public static class Constants
    {
        public static List<String> Voivodships = new List<String>
            {
                String.Empty,"dolnośląskie", "kujawsko-pomorskie", "lubelskie",
                "lubuskie", "łódzkie", "małopolskie",
                "mazowieckie", "opolskie", "podkarpackie",
                "podlaskie", "pomorskie", "śląskie",
                "świętokrzyskie", "warmińsko-mazurskie",
                "wielkopolskie", "zachodniopomorskie"
            };

        public const String Zloty = "zł";
        public const String SquareMeter = "m\xB2";
        public const String EmptyValue = "-";
        public const String SearchResult = "SearchResult";
        public const String InverseSortingOrder = "InverseSorting";
        public const int ResultsPerPage = 10;

    }

    public enum AdvertisementType
    {
        [EnumName("sprzedaż")]
        Sale = 1,
        [EnumName("wynajem")]
        Rent = 2
    }

    public enum MarketType
    {
        [EnumName("wtórny")]
        Secondary = 1,
        [EnumName("pierwotny")]
        Primary = 2
    }

    public enum EstateType
    {
        [EnumName("mieszkanie")]
        Flat = 1,
        [EnumName("dom")]
        House = 2,
        [EnumName("pokój")]
        Room = 3,
        [EnumName("działka")]
        Land = 4,
        [EnumName("garaż")]
        Garage = 5,
        [EnumName("lokal użytkowy")]
        Commercial = 6
    }

    public enum SortingDirection
    {
        [EnumName("Rosnąco")]
        ASC = 1,
        [EnumName("Malejąco")]
        DESC = 2
    }
}